const proxy = require('http-proxy-middleware')

module.exports = function(app) {
    app.use(
        '/api',
        proxy({
            target: 'http://192.168.1.28:8812',
            changeOrigin: true
        })
    )
}